package com.sll.hosptials.controller.resp;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.sll.hosptials.handler.CommonHandler;
import com.sll.hosptials.model.UserOrg;
import com.sll.hosptials.model.UserRole;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@ApiModel("用户详情信息")
public class UserDetailResp {

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("联系方式")
    private String phone;

    @ApiModelProperty("创建时间")
    private Date createDateTime;

    @ApiModelProperty("更新时间")
    private Date updateDateTime;

    private Boolean enable;

    @ApiModelProperty("用户组织信息")
    private List<UserOrg> userOrgs;

    @ApiModelProperty("用户角色信息")
    private List<UserRole> userRoles;


}
